package net.lab1024.sa.admin.module.business.erp.bas.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

import lombok.Data;

/**
 * BOM表 列表VO
 *
 * @Author AKITA
 * @Date 2025-08-11 22:28:03
 * @Copyright AKITA
 */

@Data
public class BomordVO {


    @Schema(description = "编码")
    private Long id;

    @Schema(description = "分类id")
    private String bomId;

    @Schema(description = "分类名称")
    private String bomName;

    @Schema(description = "父级id")
    private String parentId;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "单据状态")
    private String docStatus;

    @Schema(description = "创建者ID")
    private Long createById;

    @Schema(description = "创建者")
    private String createBy;
    

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新者ID")
    private Long updateById;

    @Schema(description = "更新者")
    private String updateBy;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

    @Schema(description = "版本号")
    private Integer version;

    @Schema(description = "对象编码")
    private Long objId;

    @Schema(description = "对象名")
    private String objName;
    private List<BomordVO> children;

    private BigDecimal qty;
    private String unit;
}
